
package com.work.db;

import com.work.db.dao.*;
import com.work.db.entity.*;

public class DaoFactoryImpl extends DaoFactory {

	@Override
	public WorkDayDao getWorkDayDao()
	{
		return new WorkDayDaoImpl(WorkDay.class);
	}

	@Override
	public PresentsDao getPresentsDao()
	{
		return new PresentsDaoImpl(Presents.class);
	}

	@Override
	public LeaveDao getLeaveDao()
	{
		return new LeaveDaoImpl(LeaveOfAbsence.class);
	}

	@Override
	public OvertimeDao getOvertimeDao()
	{
		return new OvertimeDaoImpl(Overtime.class);
	}

	@Override
	public EmployerDao getEmployerDao()
	{
		return new EmployerDaoImpl(Employer.class);
	}

	@Override
	public RateDao getRateDao()
	{
		return new RateDaoImpl(Rate.class);
	}

	@Override
	public LeavePerYearDao getLeavePerYearDao()
	{
		return new LeavePerYearDaoImpl(LeavePerYear.class);
	}

	@Override
	public UserDao getUserDao()
	{
		return new UserDaoImpl(User.class);
	}

	@Override
	public EmploymentDao getEmploymentDao()
	{
		return new EmploymentDaoImpl(Employment.class);
	}
}
